/*
 * @Author: error: error: git config user.name & please set dead value or install git && error: git config user.email & please set dead value or install git & please set dead value or install git
 * @Date: 2023-06-08 16:26:33
 * @LastEditors: error: error: git config user.name & please set dead value or install git && error: git config user.email & please set dead value or install git & please set dead value or install git
 * @LastEditTime: 2023-07-10 11:53:24
 * @FilePath: \ship-schedule-ui\src\common\api\modules\ship.ts
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import request from "../api"

/**
 * @description B1：模糊查询前10船舶
 * @date 2023-07-06
 * @export
 * @param {*} params
 * @returns
 */
export function GetTop10ShipList(params: any) {
  return request({
    url: "api/api/ShipInfo/GetTop10ShipList",
    params,
    method: "get"
  })
}
/**
 * @description 获取船舶历史轨迹
 * @date 2023-07-06
 * @export
 * @param {*} params
 * @returns
 */
export function GetTraceList(params: any) {
  return request({
    url: "api/api/ShipTrace/GetTraceList",
    params,
    method: "get"
  })
}
/**
 * @description 查询在航船舶空间分布
 * @date 2023-07-06
 * @export
 * @param {*} params
 * @returns
 */
export function GetShipPositions(params: any) {
  return request({
    url: "api/api/ShipTrace/GetShipPositions",
    params,
    method: "get"
  })
}
/**
 * @description 获取某天的船舶历史轨迹
 * @date 2023-07-11
 * @export
 * @param {*} params
 * @returns
 */
export function GetShipPositionsByDay(params:any) {
  return request({
    url: "api/api/ShipTrace/GetShipPositionsByDay",
    params,
    method: "get"
  })
}


